<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@include file="_commonAdmin/title.jsp" %>
<%
    if (null == session.getAttribute("admin")) {
        response.sendRedirect("login.jsp");
    }
%>
<body>
    <%@include  file="_commonAdmin/header.jsp" %>
    <%@include  file="_commonAdmin/sidebar.jsp" %>


    <div class="col-main col-xs-12 col-sm-6 col-md-9">
        <!-- InstanceBeginEditable name="main" -->
        <h2 class="ico_add_courses">Courses Add</h2>
        <html:form method="post" action="/coursesAdd.do" enctype="multipart/form-data">
            <div class="rowManager">
                <label class="lb">CoursesName</label>
                <html:text property="coursesName" />
            </div>
            <div class="rowManager">
                <label class="lb">Description</label>
                <html:textarea property="description"></html:textarea>
                </div>
                <div class="rowManager">
                    <label class="lb">DateStart</label>
                <html:text property="dateStart"/>
                <label style="color:red">dd/mm/yyyy</label>
            </div>
            <div class="rowManager">
                <label class="lb">DateEnd</label>
                <html:text property="dateEnd"/>
            </div>
            <div class="rowManager">
                <label class="lb">Attachment</label>
                <html:file property="theFile"/>
            </div>
            <div class="rowManager">
                <label class="lb">&nbsp;</label>
                <html:submit value="Submit" />
            </div>
        </html:form>
    </div>
    <!-- InstanceEndEditable -->			
    <%@include file="_commonAdmin/footer.jsp" %>
</body>
</html>


